package com.example.mapper;

import com.example.entity.EquipmentEntity;
import com.example.entity.EquipmentSearchEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EquipmentMapper {
    public List<EquipmentEntity> findAll();

    public List<EquipmentEntity> equipmentSearch(EquipmentSearchEntity equipmentSearch);

    int equipmentSearchCount(EquipmentSearchEntity equipmentSearch);

    boolean update(EquipmentEntity equipmentEntity);

    boolean insert(EquipmentEntity equipmentEntity);

    boolean delete(int id);
}
